﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PROJECT_BOMBER.BLL.States;

namespace PROJECT_BOMBER.BLL.Events.Collisions
{
    public class WinCollision : CollisionStrategy
    {
        public override void Collision(ElementPhysique element2, ElementMove element)
        {
            if (element2.Case.Intersects(element.Case))
            {
                Globals.GameStateStack.Set(new WinState((Character)element));
            }
        }

        public override void Collision(ElementMove element, ElementMove element2)
        {
        }
    }
}
